<!-- div id="header" START -->
<div id="header">
	<div id="loginbar">
		{% if current_user %}
		{{ current_user.nickname }}
		|
		<a href="#">Preferences</a>
		|
		<a href="{{ logout_link }}">{{ logout_link_text }}</a>
		{% else %}
		<a href="{{ login_link }}">{{ login_link_text }}</a>
		{% endif %}
	</div>
</div>